# 循环数组
famliy = ['father', 'grandFather', 'mother', 'son', 'daughter', 'dog']
for each in famliy:
    if "grandFather" == each:
        print("======grandFather======")
        # break
        continue
    # len():输出长度
    print(each, len(each))
else:
    # 循环语句可以有 else 子句，它在穷尽列表(以for循环)或条件变为 false (以while循环)导致循环终止时被执行，但循环被 break 终止时不执行。
    print("数据循环完了!",
          famliy)

print("循环结束")
